package com.sbtr.business.publishtask.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 部署任务分配表，记录部署任务分配到哪个部署服务器上
 * </p>
 * 

 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)

public class PublishAssignData implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.ID_WORKER)
	private Long id;

	/**
	 * 部署任务id
	 */
	private Long taskId;

	/**
	 * 部署服务器id
	 */
	private Long serverId;
}
